Package jeresources.api
Interface IDungeonRegistry
- All Known Implementing Classes:
DungeonRegistryImpl
public interface IDungeonRegistry
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCategory(String category, String localization) Add a new categoryIDungeonRegistry.registerCategory("chest/chest_type", "localization.string");voidregisterChest(String category, net.minecraft.resources.ResourceLocation tableLocation) voidregisterChest(String category, net.minecraft.world.level.storage.loot.LootTable lootTable)
-
Method Details
-
registerCategory
Add a new categoryIDungeonRegistry.registerCategory("chest/chest_type", "localization.string");- Parameters:
category- the category namelocalization- the translation key
-
registerChest
void registerChest(@Nonnull String category, @Nonnull net.minecraft.resources.ResourceLocation tableLocation) - Parameters:
category- can be a localization string directly or a registered categorytableLocation- theResourceLocationof the loot table
-
registerChest
void registerChest(@Nonnull String category, @Nonnull net.minecraft.world.level.storage.loot.LootTable lootTable) - Parameters:
category- can be a localization string directly or a registered categorylootTable- the actualLootTable
-